package com.input4hua.visitor.element;

import com.input4hua.visitor.visitor.IVisitor;

/**
 * Created by jiahua.hu on 2019/2/16.
 */
public class ElementImp1 extends Element
{
    @Override
    public void doSomething() {
        System.out.println("el1 do something");
    }

    @Override
    public void accept(IVisitor visitor) {
        visitor.visit(this);
    }
}
